<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>My Project: basic_parallel Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classbasic__parallel-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">basic_parallel Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6f8a4933fb29d6f4c60ebb3e934b192e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbasic__parallel.html#a6f8a4933fb29d6f4c60ebb3e934b192e">basic_parallel</a> (<a class="el" href="class_map.html">Map</a> &amp;map, <a class="el" href="class_allocate.html">Allocate</a> &amp;alloc, <a class="el" href="class_schedule.html">Schedule</a> &amp;sched, volatile bool &amp;exit_para)</td></tr>
<tr class="separator:a6f8a4933fb29d6f4c60ebb3e934b192e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85ea2560d40ad50482468e39d626a52b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbasic__parallel.html#a85ea2560d40ad50482468e39d626a52b">start</a> ()</td></tr>
<tr class="separator:a85ea2560d40ad50482468e39d626a52b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a969b8832b2f6eaea5e985d4582d9e4dc"><td class="memItemLeft" align="right" valign="top">kernelkeeper &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbasic__parallel.html#a969b8832b2f6eaea5e985d4582d9e4dc">source_kernels</a></td></tr>
<tr class="separator:a969b8832b2f6eaea5e985d4582d9e4dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a028feb03732d5fef0e9d184ddc18ce7b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a028feb03732d5fef0e9d184ddc18ce7b"></a>
kernelkeeper &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>all_kernels</b></td></tr>
<tr class="separator:a028feb03732d5fef0e9d184ddc18ce7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab09daae41a9d218568115be037a8357"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab09daae41a9d218568115be037a8357"></a>
<a class="el" href="class_allocate.html">Allocate</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>alloc</b></td></tr>
<tr class="separator:aab09daae41a9d218568115be037a8357"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9124d0bfd5d75277ddd44fb59814435a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9124d0bfd5d75277ddd44fb59814435a"></a>
<a class="el" href="class_schedule.html">Schedule</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>sched</b></td></tr>
<tr class="separator:a9124d0bfd5d75277ddd44fb59814435a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac648d03dceed09e7834d656f561da33b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac648d03dceed09e7834d656f561da33b"></a>
volatile bool &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>exit_para</b></td></tr>
<tr class="separator:ac648d03dceed09e7834d656f561da33b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a6f8a4933fb29d6f4c60ebb3e934b192e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">basic_parallel::basic_parallel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_map.html">Map</a> &amp;&#160;</td>
          <td class="paramname"><em>map</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_allocate.html">Allocate</a> &amp;&#160;</td>
          <td class="paramname"><em>alloc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_schedule.html">Schedule</a> &amp;&#160;</td>
          <td class="paramname"><em>sched</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">volatile bool &amp;&#160;</td>
          <td class="paramname"><em>exit_para</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>nothing to do here, move along </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a85ea2560d40ad50482468e39d626a52b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void basic_parallel::start </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>since we have to have a lock on the ports for both BFS and duplication, we'll mark the kernels inside of BFS and duplicate outside of it.</p>
<p>start checking stats</p>
<p>input stats</p>
<p>apply criteria</p>
<p>FIXME, logic below only works for single input, single output..intended to get it working</p>
<p>clone</p>
<p>attach ports</p>
<p>connecting a.y -&gt; b.x new_other_outprt == port y on a new_port_in == port x on b</p>
<p>connecting b.y -&gt; c.x newoutport == port y on b new_other_inport == port x on c</p>
<p>schedule new kernel </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a969b8832b2f6eaea5e985d4582d9e4dc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">kernelkeeper&amp; basic_parallel::source_kernels</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>both convenience structs, hold exactly what the names say </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="basicparallel_8hpp_source.html">basicparallel.hpp</a></li>
<li>basicparallel.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>
